package com.example.common.constants;

/**
 * @author ：czx
 * @date ：Created in 2021/6/24 15:21
 * @modified By：
 */
public enum  MSG_ALERT_ENUM {

    /**
     *  公共提示
     */
    SUCCESS("1", "成功"),
    ERROR("0", "失败"),
    SYS_ERROR("-1", "系统异常"),
    ID_NOT_NULL("0","主键不能为空"),





    /**
     *    ---------------------- 产说会相关消息提示  Start -----------------------------------
     */

    ID_NOT_NULL_MINUS("0","主键不能为空也不能等于或小于0"),
    PAGENUM_AND_PAGESIZE_NOT_NULL("0","分页不能为空"),
    PRODUCTSAID_NOT_EXIST("0","查询的产会说主讲产品不存在"),




    /**
     *    ---------------------- 产说会相关消息提示  end -----------------------------------
     */


    /**
     *    ---------------------- E陪访相关消息提示  Start -----------------------------------
     */

    EQIVISIT_EXPORTRECORD_OVERSIZE("1","导出数据量较大，建议增加筛选条件后再次导出"),





    /**
     *    ---------------------- E陪访相关消息提示  end -----------------------------------
     */





    ;





    private String code;
    private String message;

    MSG_ALERT_ENUM(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode()
    {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }



}
